package edu.sctu.practice.class02.qiuyangyang.text08;

/**
 * Created by Administrator on 2015/10/11 0011.
 */
public class Car extends Vehicles {

    public Car(String brand, String color) {
        super(brand, color);
    }

    int seat;

    public Car(String brand, String color, int seat) {
        super(brand, color);
        this.seat = seat;
    }

    public void showCar() {
        System.out.println(brand);
        System.out.println(color);
        System.out.println(seat);
    }

}
